<template>
  <!-- 供应商详情 -->
  <div class="contractDetail">
    <EditDetail v-if="query.routerType !== 'look'" :routerType="query.routerType" />
    <LookDetail v-if="query.routerType === 'look'" />
  </div>
</template>
<script setup name="contractDetail" lang="ts">
import LookDetail from './compoments/lookDetail.vue';
import EditDetail from './compoments/editDetail.vue';

const route = useRoute();
const { query } = route;
</script>
<style scoped lang="scss"></style>
